<?php
/*
* Copyright (c) 2010 by Cediti
*
* You may distribute under the terms of either the GNU Lesser General
* Public License or the new BSD License, as specified in the README file.
*/
// created :	8 April 2010
// version :	8 April 2010

/**
 * How these basic permissions can be mapped to the allowable actions is repository
 * specific. However, the actual repository semantics for the basic permissions
 * with regard to allowable actions can be discovered by the mappings parameter
 * returned by getRepositoryInfo (see below).
 *
 * Repositories MAY extend this set with repository-specific permissions.
 */
class Cmis_Repository_Acl_Permission
{
	//basic permission ...

	/**
	 * 'permission to read'. A Repository SHOULD express the permission for
	 * reading properties AND reading content with this permission.
	 */
	const READ = 'cmis:read';

	/**
	 * 'permission to write'. SHOULD be used to express permission to write
	 * properties and content of an object. MAY include other basic CMIS permissions.
	 */
	const WRITE = 'cmis:write';

	/**
	 * SHOULD be used to express all the permissions of a repository. SHOULD
	 * include all other basic CMIS permissions.
	 */
	const ALL = 'cmis:all';

	public function __construct()
	{
		$this->_init();
	}

	protected function _init()
	{
		
	}
}

# EOF
